.hg-dailgo-bg {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;

  .vdr {
    touch-action: none;
  }

  .handle,
  .vdr {
    position: absolute;
    box-sizing: border-box;
  }

  .handle {
    width: 10px;
    height: 10px;
    background: #eee;
    border: 1px solid #333;
    opacity: 0;
    display: block !important;
  }

  .handle-tl {
    top: -10px;
    left: -10px;
    cursor: nw-resize;
  }

  .handle-tm {
    width: 100%;
    top: -10px;
    left: 0;
    margin-left: 0px;
    cursor: n-resize;
  }

  .handle-tr {
    top: -10px;
    right: -10px;
    cursor: ne-resize;
  }

  .handle-ml {
    left: -10px;
    cursor: w-resize;
  }

  .handle-ml,
  .handle-mr {
    height: 100%;
    top: 0;
    margin-top: 0px;
  }

  .handle-mr {
    right: -10px;
    cursor: e-resize;
  }

  .handle-bl {
    bottom: -10px;
    left: -10px;
    cursor: sw-resize;
  }

  .handle-bm {
    width: 100%;
    bottom: -10px;
    left: 0;
    margin-left: 0px;
    cursor: s-resize;
  }

  .handle-br {
    bottom: -10px;
    right: -10px;
    cursor: se-resize;
  }

  @media only screen and (max-width: 768px) {
    [class*='handle-']:before {
      content: '';
      left: -10px;
      right: -10px;
      bottom: -10px;
      top: -10px;
      position: absolute;
    }
  }
}

.pop {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #000;
  opacity: 0.3;
}

.hg-dailgo-bg-resize {
  border-radius: 10px;
}

.hg-dailgo {
  min-height: 350px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 4px;

  .dailgo-header {
    height: 20px;
    padding: 10px 20px;
    line-height: 20px;
    // background-color: #f0faf8;
    cursor: move;
  }

  .dailgo-content {
    padding: 20px 20px 0 20px;
    flex: 1;
    overflow: auto !important;
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
  }

  .hg-max {
    position: absolute;
    right: 40px;
    cursor: pointer;
  }

  .hg-close {
    position: absolute;
    right: 20px;
    cursor: pointer;
  }

  .hg-dialog-footer {
    width: 100%;
    text-align: right;
  }

  .dialog-footer {
    flex-direction: row;
    // height: 20px;
    padding: 0px 20px 15px 20px;
    // line-height: 20px;
    // background-color: #f0faf8;
    display: flex;
    align-items: center;
  }
}
